
<!-- www.360cd.cn  Mosquito -->

{include file=member.header.html}

<div id="page-member">
    <div class="main">
        <div class="fun-list">
            <ul class="clearfix">
                <li><a href="{url app=my_child&act=index}">总览</a></li>
                <li><a href="{url app=my_child&act=user}">下级会员</a></li>
                <li><a href="{url app=my_child&act=user_order}">下级会员订单</a></li>
                <li><a href="{url app=my_child&act=store}">下级商铺</a></li>
                <li><a href="{url app=my_child&act=store_order}">下级商铺订单</a></li>
            </ul>
        </div>
    </div>
</div>

<div id="page-buyer-order">
    <div class="buyer-order-body page-body"> 

        <div class="order-form mb10">
            <form method="get">
                <input type="hidden" name="app" value="my_child" />
                <input type="hidden" name="act" value="user_order" />
                
                <span>订单号</span>
                <input name="order_sn" value="{$query.order_sn}" type="text" />
                
                <input type="submit" value="查询" />
                
                {if $filter}
                <a href="{url app=my_child&act=user_order}">撤销检索</a>
                {/if}
            </form>
        </div>

        <!--{foreach from=$order_list item=order}-->
        <div class="order-form mb10">
            <h2 class="clearfix">
                <p class="name">
                    &nbsp;&nbsp;
                    买家:<a href="javascript:;" >{$order.buyer_name|escape}</a>
                    &nbsp;&nbsp;
                    卖家:<a href="{url app=store&id=$order.seller_id}" >{$order.seller_name|escape}</a>
                </p>
                <p class="num ml10">订单号: {$order.order_sn}{if $order.extension eq 'groupbuy'}<span class="color8">[{$lang.groupbuy}]</span>{/if}</p>
            </h2>
            
            <!--{foreach from=$order.goods_list item=goods name=fe_goods}-->
            <div {if !$smarty.foreach.fe_goods.last}style="border-bottom-style:dashed"{/if} class="con clearfix">
                <div class="pic float-left"><a href="{url app=goods&id=$goods.goods_id}" ><img src="{$goods.goods_image}" width="50" height="50"  /></a></div>
                <div class="txt float-left ml5"> 
                    <p><a href="{url app=buyer_order&act=view&order_id=$order.order_id}">{$goods.goods_name|escape}</a></p>
                    <!--{if $goods.specification}-->
                    <span class="attr mt5">{$goods.specification|escape}</span><br />
                    <!--{/if}-->
                    <span class="order-amount mt5">实付:{$order.order_amount|price}</span><br />
                    
                    <span class="mt5">共 {$goods.quantity} 件</span><br />
                </div>
            </div>
            <!--{/foreach}-->
            <p class="status">
                <em>{$order.status|modifier:order_status}</em>
            </p>
        </div>
        <!--{foreachelse}-->
        <div class="no-record"> <span>{$lang.no_records}</span> </div>
        <!--{/foreach}--> 
    </div>
    <!--{if $order_list}--> 
    {include file=page.bottom.html} 
    <!--{/if}--> 
</div>

{include file=footer.html}
